
.empty-wrap{
  position: relative;
  border: 1px dashed #00b395;
  width: 248px;
  height: 155px;
  text-align: center;
  cursor: pointer;
  color: #00b395;
  .add{
    position: absolute;
    height: 66px;
    top: 50%;
    margin-top: -33px;
    left: 0;
    right: 0;
    font-size: 32px;
    .text{
      font-size: 14px;
    }
  }
}

.tips{
  min-height: 18px;
  line-height: 18px;
  font-size: 12px;
  color: rgb(153, 153, 153);
  margin-top: 5px;
}

.video-list{
  margin-top: 8px;
  max-height: 300px;
  overflow: auto;
  display: flex;
  flex-wrap: wrap;

}
.video-item{
  position: relative;
  margin-right: 10px;
  margin-bottom: 10px;
  border-width: 1px;
  padding: 1px;
  height: 210px;
  width: 248px;
  background-color: rgb(250, 250, 250);
  &:hover .item-select{
    display: block;
  }
  .item-select {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #00b395;
    display: none;
  }
  .link{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(//img.alicdn.com/tfs/TB1LiOXNpXXXXbEaXXXXXXXXXXX-53-43.png);
    background-repeat: no-repeat;
    background-position: center center;
  }
  .cover{
    position: relative;
    height: 155px;
    width: 246px;
    overflow: hidden;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    .mask{
      z-index: 10;
      position: absolute;
      top: 0px;
      left: 0px;
      right: 0px;
      bottom: 0px;
      background-color: rgba(255, 255, 255, 0.5);
      cursor: not-allowed;
      font-size: 18px;
      color: rgb(102, 102, 102);
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .ice-img{
      display: inline-block;
      padding-top: 1px;
      overflow: hidden;
      width: 246px;
      height: 155px;
      img{
        display: block;
        max-width: none;
        height: 155px;
        opacity: 1;
        width: 290.412px;
        margin-left: -21.206px;
        margin-top: 0px;
      }
    }
    .duration{
      position: absolute;
      bottom: 10px;
      right: 10px;
      font-size: 12px;
      padding: 2px 4px;
      border-radius: 2px;
      background-color: rgba(0,0,0,.6);
      color: #fff;
    }
    .play-btn{
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      cursor: pointer;
      background-image: url(//img.alicdn.com/tfs/TB1LiOXNpXXXXbEaXXXXXXXXXXX-53-43.png);
      background-repeat: no-repeat;
      background-position: center center;
    }
  }
  .info{
    position: relative;
    padding: 0 10px;
    overflow: hidden;
    .title{
      display: flex;
      .label{
        border: 1px solid red;
        font-size: 10px;
        padding: 2px 8px;
        border-radius: 5px;
        color: red;
        font-weight: 700;
        margin-right: 10px;
      }
      .text{
        width: 150px;
        overflow: hidden;
        display: inline-block;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
    }
    .time{
      margin-top: 4px;
      font-size: 14px;
      color: #c4c6cf;
    }
    .radio{
      position: absolute;
      top: 12px;
      right: -9px;
    }
  }
}



.cover-video-body{
  display: flex;
  .video-info{
    margin-left: 20px;
    .upload-tip{
      color: #999;
      font-size: 14px;
      line-height: 20px;
      padding-top: 5px;
      padding-bottom: 10px;
    }
    .video{
      height: 95px;
      background-color: #eaeaea;
      position: relative;
      .ice-img{
        display: inline-block;
        overflow: hidden;
        width: 150px;
        height: 95px;
        img{
          display: block;
          max-width: none;
          height: 95px;
          opacity: 1;
          width: 168.889px;
        }
       }
       .title{
        position: absolute;
        overflow: hidden;
        padding-left: 12px;
        width: 182px;
        font-size: 14px;
        color: #666;
        display: inline;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
    }
  }
}

.cover-img-video{
  position: relative;
  box-sizing: border-box;
  width: 248px;
  height: 155px;
  &:hover .operation {
    display: block;
  }
  .img-warp{
    display: inline-block;
    overflow: hidden;
    width: 248px;
    height: 155px;
    // &:hover .link{
    //   display: block;
    // }
    img{
      display: block;
      max-width: none;
      height: 155px;
      opacity: 1;
      width: 275.326px;
    }
    .link{
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: url(//img.alicdn.com/tfs/TB1LiOXNpXXXXbEaXXXXXXXXXXX-53-43.png);
      background-repeat: no-repeat;
      background-position: center center;
    }
  }
  .operation{
    position: absolute;
    display: none;
    width: 100%;
    bottom: 0;
    left: 0;
    height: 24px;
    line-height: 24px;
    background-color: rgba(0,0,0,.6);
    font-size: 12px;
    color: #fff;
    .replace{
      float: left;
      cursor: pointer;
      width: 50%;
      height: 24px;
      text-align: center;
    }
    .delete{
      float: right;
      border-left: 1px solid #e7e7e7;
      cursor: pointer;
      height: 24px;
      width: 50%;
      text-align: center;
    }
  }
}

